package com.tj.template.application.trade.output;

import com.google.common.collect.Lists;
import com.tj.bo.common.conf.api.ResponseData;

import java.util.List;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-06-15 17:12
 **/
public class OpeningTradeResponse implements ResponseData {

    private List<OpeningTrade> openingOrders = Lists.newArrayList();

    public List<OpeningTrade> getOpeningOrders() {
        return openingOrders;
    }

    public OpeningTradeResponse setOpeningOrders(List<OpeningTrade> openingOrders) {
        this.openingOrders = openingOrders;
        return this;
    }

    public static class OpeningTrade{
        private String amount;
        private Integer trendType;
        private Long marketTimestamp;//时间戳
        private String marketPrice;

        public String getAmount() {
            return amount;
        }

        public OpeningTrade setAmount(String amount) {
            this.amount = amount;
            return this;
        }

        public Integer getTrendType() {
            return trendType;
        }

        public OpeningTrade setTrendType(Integer trendType) {
            this.trendType = trendType;
            return this;
        }

        public Long getMarketTimestamp() {
            return marketTimestamp;
        }

        public OpeningTrade setMarketTimestamp(Long marketTimestamp) {
            this.marketTimestamp = marketTimestamp;
            return this;
        }

        public String getMarketPrice() {
            return marketPrice;
        }

        public OpeningTrade setMarketPrice(String marketPrice) {
            this.marketPrice = marketPrice;
            return this;
        }
    }

}
